package com.youhome.service.service;

import com.github.pagehelper.PageInfo;
import com.youhome.common.exception.CustomException;
import com.youhome.service.model.BSendRecordMail;
import com.youhome.service.model.Principal;

/**
 * Created by chen365 on 2017/12/20.
 */
public interface BSendRecordMailService {
    BSendRecordMail selectByPrimaryKey(Long id);
    PageInfo<BSendRecordMail> selectByBean(Integer pageIndex, Integer pageSize, BSendRecordMail record);

    PageInfo<BSendRecordMail> selectByBean(Principal principal, Long gatherId, Integer pageNumber, Integer pageSize) throws CustomException;
}
